<!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8">
	<title>EnumDemo</title>
	<script type="text/javascript">
	; var EnumHelper = (function() {
		var Role = {
			Admin: 0,
			Teacher: 1,
			Student: 2,
		};
		
		return {
			Role : Role,
		};
	})();
	var Enum = {
		Role: {
			Admin: 0,
			Teacher: 1,
			Student: 2,	
		},	
	};
	alert(Enum.Role.Student);
	</script>
</head>
<body>
	
</body>
</html>